package com.shanzmoo.db.third.entity.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 第三方平台订单发货信息
 * @author Gzhao 2021/1/7
 */
@Data
@ApiModel("第三方平台订单发货信息")
public class PlatformOrderAddLogisticsBO implements Serializable {

    private static final long serialVersionUID = 1758L;

    @NotNull(message = "订单id不允许为空")
    @ApiModelProperty("订单id")
    private Integer id;

    @NotBlank(message = "物流公司不允许为空")
    @ApiModelProperty("物流公司")
    private String logisticsType;

    @NotBlank(message = "物流单号不允许为空")
    @ApiModelProperty("物流单号")
    private String logisticsNo;

}
